package com.xbongbong.paas.model;

import com.xbongbong.paas.field.LinkInfoPojo;
import com.xbongbong.paas.pojo.vo.LinkDataListVO;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.formdata.pojo.vo.LinkQueryVO;
import org.elasticsearch.action.search.SearchRequest;
import org.springframework.data.domain.PageRequest;

/**
 * @author 吴峰
 * @date 2022/04/13 14:30
 */
public interface LinkDataModel {

    /**
     * es 关联数据
     * @param corpid
     * @param linkInfoPojo
     * @param pageRequest
     * @param searchRequest
     * @param linkQueryVO
     * @param page
     * @param pageSize
     * @return com.xbongbong.paas.pojo.vo.LinkDataListVO
     * @author 吴峰
     * @date 2022/4/13 14:35
     * @throws XbbException
     */
    LinkDataListVO filterLinkData(String corpid, LinkInfoPojo linkInfoPojo, PageRequest pageRequest, SearchRequest searchRequest, LinkQueryVO linkQueryVO, Integer page, Integer pageSize) throws XbbException;
}
